<?php
namespace app\admin\controller;
use think\Controller;

Class GoodsAttr extends BaseAdmin
{


    public function ajaxdelga($gaid){
        $del=db('tp_goods_attr')->where(array('id'=>$gaid))->delete();
        if($del){
            echo 1;

        }else{
            echo 2;
        }
    }

    
    


}